<?php session_start();
if($_SESSION){
    session_destroy();
}
?>
<!DOCTYPE html>
<html lang="es">
    <head>
        <meta charset="ISO-8859-1" />
        <title>Acceso - Autos</title>
        <link rel="shortcut icon" href="../favicon.ico"> 
        <link rel="stylesheet" type="text/css" href="Public/css/style.css" />
    </head>
    <body>
        <div style="height: 50px"></div>
        <div class="container">
            <section>				
                <div id="container" >
                    <div id="wrapper">
                        <div id="login" class="animate form">
                            <form  action="principal.php?action=validate&controller=User" method="post" autocomplete="on"> 
                                <h1>Acceso</h1> 
                                <p> 
                                    <label for="username"> Usuario </label>
                                    <input id="username" name="username" required="required" type="text" placeholder="ingrese su usuario" autofocus/>
                                </p>
                                <p> 
                                    <label for="password"> Clave </label>
                                    <input id="password" name="password" required="required" type="password" placeholder="ingrese su clave" /> 
                                </p>
                                <p class="login button"> 
                                    <input type="hidden" name="access" value="login" />
                                    <input type="submit" value="Acceder" />
				</p>
                            </form>
                        </div>			
                    </div>
                </div>  
            </section>
        </div>
    </body>
</html>